package com.luoqiu.cinema.mapper;

import com.luoqiu.cinema.entity.MoviePlace;import org.apache.ibatis.annotations.Param;import java.util.List;

public interface MoviePlaceMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MoviePlace record);

    int insertSelective(MoviePlace record);

    MoviePlace selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MoviePlace record);

    int updateByPrimaryKey(MoviePlace record);

    List<MoviePlace> loadAllPlaceByMovieId(@Param("id") Integer id);

    List<MoviePlace> loadByAll(@Param("keyword") String keyword);
}
